package com.atl.enity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单资源表
 * </p>
 *
 * @author 
 * @since 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("admin_permission")
@ApiModel(value="AdminPermission对象", description="菜单资源表")
public class AdminPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "菜单或按钮名字")
    private String menuName;

    @ApiModelProperty(value = "菜单URL")
    private String menuUrl;

    @ApiModelProperty(value = "菜单级别  1 一级菜单  2 二级菜单")
    private Integer menuLev;

    @ApiModelProperty(value = "菜单样式")
    private String menuClass;

    @ApiModelProperty(value = "菜单类型  1 菜单  2按钮")
    private Integer menuType;

    @ApiModelProperty(value = "上级菜单")
    private Long parentId;

    @ApiModelProperty(value = "排序")
    private Integer menuOrder;


}
